<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="<%=request.getContextPath()%>" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>中国石油非常规气藏动态分析</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page" />
<link href="${ctx}/analyse/css/table.css" rel="stylesheet" />
<link href="${ctx}/analyse/css/index.css" rel="stylesheet" />
<link href="${ctx}/analyse/css/style.css" rel="stylesheet" />
<link type="text/css" rel="stylesheet"
	href="${ctx}/js/tree/zTreeStyle/zTreeStyle.css" />
<script type="text/javascript"
	src="${ctx}/analyse/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="${ctx}/analyse/js/base.js"></script>
<script type="text/javascript" src="${ctx}/analyse/js/chart.js"></script>
<script type="text/javascript"
	src="${ctx}/analyse/js/jquery.leanModal.min.js"></script>
</head>
<body>
	<div id="main-container" style="width: 1320px;
	background-color: white;">
		<div id="left" style="float: left;min-width: 22%;
	                        max-width: 22%;	border: 2px solid #cccccc;">
			<div id="tree-container" >
				<ul class="ztree" id="xzqtree"></ul>
			</div>
		</div>
		
		<div id="right_area" style="float: left;width: 77.6%;height: 100%;">
			<div id="chart_show">
			<div id="tttt"
				style="width:100%;height:26px;border-bottom: 0px #F1F1F1 solid ;">
				横坐标：<select name="s1" id="zhibiao1" onChange="redirect()"
					onclick="redirect()">
					<option value="choice" selected="selected">请选择</option>
					<option value="PWF" name="井底流压(Mpa)">井底流压</option>
					<option value="QQ" name="日产气(m3)">日产气</option>
					<option value="LJCQ" name="累产气(m3)">累产气</option>
					<option value="QL" name="日产液(m3)">日产液</option>
					<option value="LJCY" name="累产液(m3)">累产液</option>
				</select> 纵坐标：<select name="s1" id="zhibiao2" onChange="redirect()"
					onclick="redirect()">
					<option value="choice" selected="selected">请选择</option>
					<option value="PWF" name="井底流压(Mpa)">井底流压</option>
					<option value="QQ" name="日产气(m3)">日产气</option>
					<option value="LJCQ" name="累产气(m3)">累产气</option>
					<option value="QL" name="日产液(m3)">日产液</option>
					<option value="LJCY" name="累产液(m3)">累产液</option>
				</select> 算法： <input type="radio" checked="checked" name="Sex" value=" " />
				一次函数 <input type="radio" name="Sex" value="多项式拟合" /> 二次函数<input
					type="radio" name="Sex" value="指数函数" /> 指数函数 &nbsp
				<button onclick="biaoti()">确定</button>
			</div>
			
			 <div style="width:1000px;height:35px;border-bottom: 0px #F1F1F1 solid ;">
            <font id="title" size="5px"></font>
            </div> 
			
			<div style="float: left;width: 100%;height: 50%;max-height: 50%;overflow: scroll;">          
             	 <div id="main" style="width:100%;height:500px"></div>
             </div>
	     	
			</div>
			<div id="grid_show">
				<div class="tablePanle">
					<div id="table" class="tablePanle"></div>
				</div>
				<div id="tools"></div>
			</div>
		</div>
	</div>
			<script src="${ctx}/js/echarts/dist/echarts.js"></script>
			<script type="text/javascript">
				// 路径配置
				require.config({
					paths : {
						echarts : '${ctx}/js/echarts/dist'
					}
				});

				// 使用
				require([ 'echarts', 'echarts/chart/line',
						'echarts/chart/scatter'// 使用柱状图就加载bar模块，按需加载
				],chartEc);
				
			
    </script>
			

	<!-- ECharts单文件引入 -->
	<script type="text/javascript" src="${ctx}/js/echarts/dist/echarts.js"></script>
	<script type="text/javascript" src="${ctx}/js/jquery.min.js"></script>
	<script type="text/javascript"
		src="${ctx}/js/tree/jquery.ztree.all-3.5.min.js"></script>
</body>
</html>
